/**
 * 
 */
package me.android.YPVN;

import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.LinearLayout;

/**
 * @author chuonglv
 *
 */
public class TitleWidget extends LinearLayout {

	public TitleWidget(Context context) {
		super(context);
		init();
	}
	
	public TitleWidget(Context context, AttributeSet attrs) {
		super(context,attrs);
		init();
	}
	
	public void init(){
		View view = inflate(getContext(), R.layout.title_widget, null);
		LayoutParams params = new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT);
		
		addView(view, params);
	}

}
